package info.pello.struts.tulebox.example;

public class Attributes {
private int str;
private int intellect;
private int agi;

private String created;
public Attributes (int str,int intellect,int agi){
	this.str=str;
	this.intellect=intellect;
	this.agi=agi;
	if(str+intellect+agi==30){
		created= "Succesfully created";
	}else{
		created="There was an error, attributes must add up to 30";
	}
}
public int getStr() {
	return str;
}
public void setStr(int str) {
	this.str = str;
}
public int getIntellect() {
	return intellect;
}
public void setIntellect(int intellect) {
	this.intellect = intellect;
}
public int getAgi() {
	return agi;
}
public void setAgi(int agi) {
	this.agi = agi;
}
public String getCreated() {
	return created;
}
public void setCreated(String created) {
	this.created = created;
}

}
